package cn.bdqn.mh.service.impl;

import cn.bdqn.mh.mapper.AdMapper;
import cn.bdqn.mh.pojo.Ad;
import cn.bdqn.mh.service.AdService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AdServiceImpl implements AdService {

    private AdMapper adMapper;

    @Override
    public List<Ad> getAd() {
        return adMapper.getAd();
    }
}
